package com.jymj.dao;

import com.jymj.entity.KeyValueEntity;
import com.jymj.entity.RenovatedFile;
import com.jymj.entity.YlEntity;
import com.jymj.entity.dto.RenovatedDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface YlDao {

    List<YlEntity> queryList(Map<String, Object> params);

    public YlEntity queryByPoint(@Param("point") String point, @Param("pjid") Integer pjid);

    YlEntity getYLbyId(YlEntity ylEntity);

    List<YlEntity> getDiQuery(Map map1);

    List<YlEntity> getDiQueryExcel(Map map1);

    int getAppDiCounnt(Map map);

    YlEntity getYLbyPoint(Map<String, Object> map);

    List<KeyValueEntity> getAppDiQsxz(Map map);

    List<KeyValueEntity> getAppDiSyqlx(Map map);

    List<KeyValueEntity> getAppDiCqly(Map map);

    List<KeyValueEntity> getZhaiAreaByFrame(Map map);

    List<YlEntity> getYlList(Map map);

    Integer getYlListCount(Map map);

    List<YlEntity> getYlListExcel(Map map);

    int queryTotal(Map<String, Object> params);

    void saveYlEntity(YlEntity ylEntity);

    void updateYlBatch(Integer[] ylIds);

    void updateYlByAppId(Integer appId);

    List<KeyValueEntity> queryAppSummary(Map map);

    List<YlEntity> queryYl(String geom);

    void save(YlEntity ylEntity);

    void deleteByObjectid(Integer ylId);

    YlEntity queryByGid(Long gid);

    void updateAppTYpe(Integer ylId);
}
